<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org" lang="zh-CN">
<th:block th:replace="common/head :: head(text='个人中心')"/>
<link rel="stylesheet" type="text/css" th:href="@{/css/admin/main.css}"/>
<body>
<div class="container">
    <th:block th:replace="common/sidebar :: sidebar(flag='info')"/>
    <div class="main-content">
        <div id="information">
            <h2>个人中心</h2>
            <a></a>
            <form th:action="@{/system/updatePassword}" method="post" th:object="${passwordVo}">
                <div class="form-group">
                    <label for="old-password">旧密码:</label>
                    <input type="text" id="old-password" name="old-password" th:field="${passwordVo.oldPassword}">
                </div>
                <div class="form-group">
                    <label for="new-password">新密码:</label>
                    <input type="text" id="new-password" name="new-password" th:field="${passwordVo.newPassword}">
                </div>
                <div class="button-container">
                    <button type="submit">保存</button>
                </div>
            </form>
        </div>
    </div>
</div>
</body>
</html>
